package org.ehe.erp.service.quality;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ehe.common.oss.entity.UploadResult;
import org.ehe.erp.domain.quality.ErpQualityAttachment;
import org.ehe.erp.domain.quality.vo.ErpQualityAttachmentVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 质检附件Service
 * @author :zhangnn
 * @className :ErpQualityAttachmentService
 * @description: TODO
 * @date 2025-09-10 16:26:52
 */
public interface ErpQualityAttachmentService extends IService<ErpQualityAttachment> {
    UploadResult upload(MultipartFile file);


    List<ErpQualityAttachmentVo> listByFeedbackId(Long feedbackId);

    int deleteWithValidByIds(List<Long> ids);
}
